/*
 * Copyright (C) 2023 xuexiangjys(xuexiangjys@163.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.xuexiang.templateproject.bean;

//import anet.channel.strategy.dispatch.DispatchConstants;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public final class AiItemShowBean {
    @NotNull
    private final String headImgUrl;
    @NotNull
    private final String inputBoxPrompt;
    private final int talkSystemId;

    public AiItemShowBean(@NotNull String headImgUrl, @NotNull String inputBoxPrompt, int i2) {
        Intrinsics.checkNotNullParameter(headImgUrl, "headImgUrl");
        Intrinsics.checkNotNullParameter(inputBoxPrompt, "inputBoxPrompt");
        this.headImgUrl = headImgUrl;
        this.inputBoxPrompt = inputBoxPrompt;
        this.talkSystemId = i2;
    }

    public static /* synthetic */ AiItemShowBean copy$default(AiItemShowBean aiItemShowBean, String str, String str2, int i2, int i3, Object obj) {
        if ((i3 & 1) != 0) {
            str = aiItemShowBean.headImgUrl;
        }
        if ((i3 & 2) != 0) {
            str2 = aiItemShowBean.inputBoxPrompt;
        }
        if ((i3 & 4) != 0) {
            i2 = aiItemShowBean.talkSystemId;
        }
        return aiItemShowBean.copy(str, str2, i2);
    }

    @NotNull
    public final String component1() {
        return this.headImgUrl;
    }

    @NotNull
    public final String component2() {
        return this.inputBoxPrompt;
    }

    public final int component3() {
        return this.talkSystemId;
    }

    @NotNull
    public final AiItemShowBean copy(@NotNull String headImgUrl, @NotNull String inputBoxPrompt, int i2) {
        Intrinsics.checkNotNullParameter(headImgUrl, "headImgUrl");
        Intrinsics.checkNotNullParameter(inputBoxPrompt, "inputBoxPrompt");
        return new AiItemShowBean(headImgUrl, inputBoxPrompt, i2);
    }

    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof AiItemShowBean)) {
            return false;
        }
        AiItemShowBean aiItemShowBean = (AiItemShowBean) obj;
        return Intrinsics.areEqual(this.headImgUrl, aiItemShowBean.headImgUrl) && Intrinsics.areEqual(this.inputBoxPrompt, aiItemShowBean.inputBoxPrompt) && this.talkSystemId == aiItemShowBean.talkSystemId;
    }

    @NotNull
    public final String getHeadImgUrl() {
        return this.headImgUrl;
    }

    @NotNull
    public final String getInputBoxPrompt() {
        return this.inputBoxPrompt;
    }

    public final int getTalkSystemId() {
        return this.talkSystemId;
    }

    public int hashCode() {
        return (((this.headImgUrl.hashCode() * 31) + this.inputBoxPrompt.hashCode()) * 31) + this.talkSystemId;
    }

    @NotNull
    public String toString() {
        return "AiItemShowBean(headImgUrl=" + this.headImgUrl + ", inputBoxPrompt=" + this.inputBoxPrompt + ", talkSystemId=" + this.talkSystemId + ')';
    }
}